<html>
<head><meta charset="utf-8"><title>Failed to compile `rustc_driver`: linking with `cc` failed · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html">Failed to compile `rustc_driver`: linking with `cc` failed</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="208461351"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/208461351" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#208461351">(Aug 30 2020 at 00:38)</a>:</h4>
<p>I tried to compile <code>rustc</code> on my MacBook, but it fails to compile <code>rustc_driver</code> with the following message:</p>
<div class="codehilite"><pre><span></span><code>error: linking with `cc` failed: exit code: 1
&lt;snip&gt;
  = note: ld: library not found for -llibxml2.tbd
          clang: error: linker command failed with exit code 1 (use -v to see invocation)


error: aborting due to previous error

error: could not compile `rustc_driver`.
</code></pre></div>


<p>I have a <code>libxml2.dylib</code> located in <code>/usr/lib</code>, as well as another homebrew-installed keg-only <code>libxml2</code> in <code>/usr/local/opt/libxml2/</code>. I can't find any <code>.tbd</code> file however.<br>
I tried passing <code>LDFLAGS="-L/usr/local/opt/libxml2/lib"</code> and <code>RUSTFLAGS_STAGE_NOT_0='-L/usr/lib'</code>, with no success.</p>
<p>Does anyone have an idea of what I could try to fix this problem?</p>



<a name="208467146"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/208467146" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lzutao <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#208467146">(Aug 30 2020 at 03:59)</a>:</h4>
<p>what is your OS version ? Also Xcode version ?</p>



<a name="208467253"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/208467253" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lzutao <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#208467253">(Aug 30 2020 at 04:02)</a>:</h4>
<p>Looks like you need Xcode SDK or so: <a href="https://stackoverflow.com/questions/31450690/why-xcode-7-shows-tbd-instead-of-dylib">https://stackoverflow.com/questions/31450690/why-xcode-7-shows-tbd-instead-of-dylib</a></p>



<a name="208480036"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/208480036" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#208480036">(Aug 30 2020 at 11:10)</a>:</h4>
<p>I had MacOS 10.15 which I’m updating right now because I can’t update XCode otherwise</p>



<a name="208508569"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/208508569" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#208508569">(Aug 30 2020 at 23:08)</a>:</h4>
<p>Updating MacOS + XCode didn't help. I found a <code>libxml2.tbd</code> file deep in my XCode SDK (<code>/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/</code>), so I tried adding a <code>RUSTFLAGS=-L/...</code>, without success</p>



<a name="208515143"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/208515143" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lzutao <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#208515143">(Aug 31 2020 at 02:27)</a>:</h4>
<p>Not sure how to help you. But I will ping <span class="user-mention" data-user-id="116155">@Jake Goulding</span> as they seems to use macOS for Rust development.</p>



<a name="209117845"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/209117845" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#209117845">(Sep 04 2020 at 17:03)</a>:</h4>
<p><span class="user-mention" data-user-id="116155">@Jake Goulding</span> Sorry to ping you again, but you're my last hope :D</p>



<a name="209117985"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/209117985" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#209117985">(Sep 04 2020 at 17:04)</a>:</h4>
<p>I've never seen this error before, but <code>libxml2.tbd</code> is highly suspicious, specifically the <code>tbd</code>.</p>



<a name="209118105"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/209118105" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#209118105">(Sep 04 2020 at 17:06)</a>:</h4>
<p>Seems to be coming from LLVM</p>



<a name="209118272"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/209118272" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#209118272">(Sep 04 2020 at 17:07)</a>:</h4>
<p>How did you run <code>configure</code> and <code>x.py</code>?</p>



<a name="209118411"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/209118411" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#209118411">(Sep 04 2020 at 17:08)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116155">Jake Goulding</span> <a href="#narrow/stream/182449-t-compiler.2Fhelp/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed/near/209118105">said</a>:</p>
<blockquote>
<p>Seems to be coming from LLVM</p>
</blockquote>
<p>That would make sense, I just remembered that I set my config.toml to use my system LLVM</p>



<a name="209118468"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/209118468" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#209118468">(Sep 04 2020 at 17:09)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116155">Jake Goulding</span> <a href="#narrow/stream/182449-t-compiler.2Fhelp/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed/near/209118272">said</a>:</p>
<blockquote>
<p>How did you run <code>configure</code> and <code>x.py</code>?</p>
</blockquote>
<p>I think I simply ran <code>./x.py build -i library/std</code>, then I tried setting all sorts of env variables</p>



<a name="209118528"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/209118528" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#209118528">(Sep 04 2020 at 17:09)</a>:</h4>
<p><span class="user-mention silent" data-user-id="255061">LeSeulArtichaut</span> <a href="#narrow/stream/182449-t-compiler.2Fhelp/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed/near/209118411">said</a>:</p>
<blockquote>
<p><span class="user-mention silent" data-user-id="116155">Jake Goulding</span> <a href="#narrow/stream/182449-t-compiler.2Fhelp/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed/near/209118105">said</a>:</p>
<blockquote>
<p>Seems to be coming from LLVM</p>
</blockquote>
<p>That would make sense, I just remembered that I set my config.toml to use my system LLVM</p>
</blockquote>
<p>cc <a href="#narrow/stream/131828-t-compiler/topic/improving.20bootstrap.20times.20for.20contributor.20fun.20and.20profit/near/209106736">https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/improving.20bootstrap.20times.20for.20contributor.20fun.20and.20profit/near/209106736</a>, <span class="user-mention" data-user-id="116122">@simulacrum</span></p>



<a name="209118602"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/209118602" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#209118602">(Sep 04 2020 at 17:10)</a>:</h4>
<p>this is a real use case where that would benefit new contributors</p>



<a name="209118728"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/209118728" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#209118728">(Sep 04 2020 at 17:11)</a>:</h4>
<p>I ran <code>/path/to/my/llvm-config --version</code>, which printed me <code>10.0.1</code></p>



<a name="209118820"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/209118820" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#209118820">(Sep 04 2020 at 17:12)</a>:</h4>
<p>So you didn't run <code>configure</code> at all?</p>



<a name="209118834"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/209118834" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#209118834">(Sep 04 2020 at 17:12)</a>:</h4>
<p>Manually, no</p>



<a name="209118862"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/209118862" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#209118862">(Sep 04 2020 at 17:12)</a>:</h4>
<p>how did you set the system LLVM?</p>



<a name="209118939"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/209118939" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#209118939">(Sep 04 2020 at 17:13)</a>:</h4>
<p>LLVM comes from Homebrew, then I set my <code>config.toml</code> to have <code>target.x86_64-apple-darwin.llvm-config = "/usr/local/Cellar/llvm/10.0.1/bin/llvm-config"</code></p>



<a name="209119044"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/209119044" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#209119044">(Sep 04 2020 at 17:14)</a>:</h4>
<p>Why do wish to follow this particular method? Is there a reason you don't want Rust to build LLVM for you?</p>



<a name="209119077"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/209119077" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#209119077">(Sep 04 2020 at 17:15)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116155">Jake Goulding</span> <a href="#narrow/stream/182449-t-compiler.2Fhelp/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed/near/209119044">said</a>:</p>
<blockquote>
<p>Why do wish to follow this particular method? Is there a reason you don't want Rust to build LLVM for you?</p>
</blockquote>
<p>in general, building llvm is slow</p>



<a name="209119078"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/209119078" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#209119078">(Sep 04 2020 at 17:15)</a>:</h4>
<p>Mostly the long build time, because I thought it would be "free"</p>



<a name="209119103"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/209119103" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#209119103">(Sep 04 2020 at 17:15)</a>:</h4>
<p>But I'm fine with having a ~1h build once in a while</p>



<a name="209119171"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/209119171" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#209119171">(Sep 04 2020 at 17:16)</a>:</h4>
<p>fortunately this is a one-time cost, since llvm only gets updated ~once every 6 months</p>



<a name="209119188"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/209119188" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#209119188">(Sep 04 2020 at 17:16)</a>:</h4>
<p>And how long have you been stuck? Longer than an hour? :-)</p>



<a name="209119192"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/209119192" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#209119192">(Sep 04 2020 at 17:16)</a>:</h4>
<p>To be honest, I wouldn't have thought this could come from LLVM</p>



<a name="209119216"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/209119216" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#209119216">(Sep 04 2020 at 17:16)</a>:</h4>
<p>Anyway</p>



<a name="209119227"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/209119227" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#209119227">(Sep 04 2020 at 17:16)</a>:</h4>
<p>I used CI which is much faster than my laptop :)</p>



<a name="209119233"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/209119233" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#209119233">(Sep 04 2020 at 17:16)</a>:</h4>
<p>Gave me a good excuse</p>



<a name="209119252"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/209119252" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#209119252">(Sep 04 2020 at 17:17)</a>:</h4>
<p>I'd suggest cleaning your build directory and doing a "standard" compile</p>



<a name="209119276"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/209119276" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#209119276">(Sep 04 2020 at 17:17)</a>:</h4>
<p>That will minimize the number of moving parts</p>



<a name="209119360"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/209119360" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#209119360">(Sep 04 2020 at 17:18)</a>:</h4>
<p>I'll do, thank you very much for your help</p>



<a name="209119482"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Failed%20to%20compile%20%60rustc_driver%60%3A%20linking%20with%20%60cc%60%20failed/near/209119482" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Failed.20to.20compile.20.60rustc_driver.60.3A.20linking.20with.20.60cc.60.20failed.html#209119482">(Sep 04 2020 at 17:19)</a>:</h4>
<p>Haven't really helped yet!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>